package app.dev.ems.web.wicket.panel.menu.vertical;

import app.dev.ems.web.element.menu.MenuElement;
import app.dev.ems.web.wicket.panel.menu.BaseMenuPanel;

public abstract class BaseVerticalMenuPanel extends BaseMenuPanel {

	private static final long serialVersionUID = 267667360983894550L;
	
	public BaseVerticalMenuPanel(String id) {
		super(id);
	}

	protected void setSelectedLink() {
		setSelectedLink(getSession().getActiveVerticalNavigationStatus(), MenuElement.ACTIVE_VERTICAL_MENU_ITEM_CSS_CLASS.getCssClass().getCssClass());
	}
}
